@import "reset.css";

//设计稿尺寸
$designWidth: 750;

@function to($px) {
  @return $px * 320 / $designWidth/20 + rem;
}

body {
  width: to(750);
  margin: 0 auto;
}

.box1 {
  > div {
    width: to(100);
    height: to(100);
    line-height: to(100);
    border: to(1) solid #000;
    font-size: to(25);
  }
}
